import { Controller } from 'egg';

export default class HomeController extends Controller {
  public async index() {
    const { ctx } = this;
    this.ctx.logger.info('请求数据: %j', ctx.request.body);
    ctx.body = await ctx.service.gitee.sayHi();
  }
}
